#imports :
import requests
from colorama import Fore, Back, Style
from bs4 import BeautifulSoup


#project info :
#wikipedia in terminall

#print(Fore.W)
#print(Back.CYAN)
#print(Style.DIM)

#parsing wiki

a =input("wikipedia :")
url="https://ru.wikipedia.org/wiki/"

addr= url + a

request = requests.get(addr)
soup = BeautifulSoup(request.text, "html.parser")
teme = soup.find("div", class_="mw-parser-output")
print("result:")
print( teme.text )


#exit parsing

#print(Style.RESET_ALL)

